package com.tianji.aigc.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.ai.chat.messages.MessageType;

import java.util.Map;

/**
 * @author Administrator
 * @version 1.0
 * @description: TODO
 * @date 2025/5/21 17:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessageVO {
    /**
     * 消息类型
     */
    private MessageType type;
    /**
     * 消息内容
     */
    private String content;
    /**
     * 附加参数
     */
    private Map<String, Object> params;

    public MessageVO(MessageType type, String content) {
        this.type = type;
        this.content = content;
    }
}
